#include "pigeon.h"

#include <QtGui>
#include <QApplication>
#include <QSplashScreen>
#include <QPixmap>
#include <iostream>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QPixmap img = QPixmap("img/pigeon.png");
    QSplashScreen splash(img);
    splash.setMask(QRegion(img.mask()));

    splash.show();
    QSound::play("music/pigeon.wav");
    pigeon w;

 //   sleep(2);

    w.show();
    splash.finish(&w);
    return a.exec();
}
